package com.xquant.pricing.calc.entity.simple;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @Author: xpp -_- -_-
 * @Date: 2021/11/2 13:43
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Record {
    @JsonProperty("BaseInfo")
    BaseInfo BaseInfo;

    @JsonProperty("OptionTrade")
    OptionTrade OptionTrade;

    @JsonProperty("numberOfOptions")
    String numberOfOptions = "1";

    public String getNumberOfOptions() {
        return numberOfOptions;
    }

    public void setNumberOfOptions(String numberOfOptions) {
        this.numberOfOptions = numberOfOptions;
    }

    public Record() {
    }

    public Record(BaseInfo baseInfo, OptionTrade optionTrade) {
        BaseInfo = baseInfo;
        OptionTrade = optionTrade;
    }

    public BaseInfo getBaseInfo() {
        return BaseInfo;
    }

    public void setBaseInfo(BaseInfo baseInfo) {
        BaseInfo = baseInfo;
    }

    public com.xquant.pricing.calc.entity.simple.OptionTrade getOptionTrade() {
        return OptionTrade;
    }

    public void setOptionTrade(com.xquant.pricing.calc.entity.simple.OptionTrade optionTrade) {
        OptionTrade = optionTrade;
    }
}
